package lab02.test04;

/**
 * Created by 唐苗苗 on 2017/10/15.
 */
public class Workers {
    char workersName;
    int workersNumber;
    float workersSalary;
    float workersIncrese;

    char name(){
        return workersName;
    }
    int number (){
        return workersNumber;
    }
    float salary(){
        return workersSalary;
    }
    float increse(){
        return workersIncrese;

    }
    float sum(){
        float sumsalary;
        sumsalary=workersSalary*(1+workersIncrese);
        return sumsalary;
    }
}
